package com.shenyi.mould.rest.controller.admin;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author richard.fan
 * @version 1.0
 * @date 2018/10/24
 * @desc init
 * @see
 * @since 1.0
 */
@Controller
public class IndexController {

    @RequestMapping("/")
    public String login() {
        return "login";
    }


    @RequestMapping("/index")
    public String index(){
        return "index";
    }
}
